$().ready(function() {
	var f = $('#finder').elfinder({
		url : '/backend/elfinder/admin/connector/',
		lang : 'ru',
		editorCallback : function(url) {
			window.tinymceFileWin.document.forms[0].elements[window.tinymceFileField].value = url;
			window.tinymceFileWin.focus();
			window.close();
		},
		//closeOnEditorCallback : true
		// docked : true,
		// dialog : {
		// 	title : 'File manager',
		// 	height : 500
		// }
	})
	// window.console.log(f)
})